package com.ke.searchhouse.repository;

import com.ke.searchhouse.entity.HouseSubscribe;
import org.springframework.data.jpa.repository.JpaRepository;
/**
 * @author  keke
 * @create  2018/10/14 0014 下午 9:33
 * @desc
 **/
public interface HouseSubscribeRepository extends JpaRepository<HouseSubscribe, Long> {

    HouseSubscribe findByHouseIdAndUserId(Long id, Long loginUserId);
}
